package com.f5.management.service;

import com.f5.management.entity.Role;
import com.f5.management.entity.dto.RoleFormDto;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @ClassName RoleService
 * @Description TODO
 * @Author director吴
 * @Date 2021/4/7 19:57
 * @Version 1.0
 **/

public interface RoleService {

    //添加一个角色
    public String insetRloe(RoleFormDto dto);

    //返回所有的角色信息
    public List<Role> selectRoleLists();

    //返回所有的角色包含权限信息
    public List<Role> getRolesAndPermissions();

    //删除一个角色
    public String deleteRole(RoleFormDto dto);


}
